package com.hospital.service.intf;

import com.hospital.entity.Equipment;
import com.hospital.vo.PageBean;
import com.hospital.vo.R;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface EquipmentService {
    R add(Equipment equipment);

    R deleteById(int id);

    R update(Equipment equipment);

    PageBean selectPage(String name, int page, int limit);

    //下拉框
    List<Equipment> all();

    R deleByIds(int[] ids);

    //文件导入
    R save(MultipartFile file) throws IOException;

    R onditionTj();


}
